
chrome.runtime.onMessage.addListener(function (message, sender, sendResponse1) {
	if (message == 'Yes') {
		the_int = setInterval(function dingshitixing() {
			chrome.tabs.query({}, function (tab) {
				for (var i = 0; i < tab.length; i++) {
					chrome.tabs.sendMessage(tab[i].id, {
						action: "tixing"
					}, function (response) {
					})
				};
			});

		},  30*60 * 1000)
	}
	if (message == 'No') {
		console.log('我收到了no')
		clearInterval(the_int);
	}


	sendResponse1('1')
})


